/**
 * 项目示例-表单验证规则
 * Date 2023-5-25 09:33:56
 */

import type { FormRules } from 'element-plus'
import { reactive } from 'vue'

export const rules = reactive<FormRules>({
  eqptCode: [{ required: true, message: '请输入设备编号', trigger: 'blur' }],
  eqptType: [{ required: true, message: '请选择设备类型', trigger: 'blur' }],
  eqptName: [{ required: true, message: '请输入设备名称', trigger: 'blur' }],
  owner: [{ required: true, message: '请选择归属单位', trigger: 'blur' }]
})
